<h1>Listing uploads</h1>

<table>
  <thead>
    <tr>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @uploads.each do |upload| %>
      <tr>
        <td><%= link_to 'Show', [:admin, upload] %></td>
        <td><%= link_to 'Edit', edit_admin_upload_path(upload) %></td>
        <td><%= link_to 'Destroy', [:admin, upload], method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Upload', new_admin_upload_path %>
